package com.bw.z.mvp.contract;

import com.bw.z.mvp.model.entity.BaseEntity;
import com.bw.z.mvp.base.model.IModel;
import com.bw.z.mvp.base.view.IView;
import com.bw.z.mvp.model.entity.RegisterEntity;

import java.util.Map;

import io.reactivex.Observable;

public interface RegisterContract {
    interface registerModel extends IModel {
        Observable<BaseEntity> requestRegister(Map<String, Object> map);
    }

    interface registerView extends IView {
        void requestRegister(RegisterEntity registerEntity);
    }
}
